<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <title>Merge Operator</title>
    <link rel="stylesheet" href="../style.css">
</head>
<body>
<table class="header">
    <tr class="header">
        <td class="header">&nbsp;Merge Operator</td>
        <td class="header" align="right">
            <a href="nbdocs://org.esa.snap.snap.help/org/esa/snap/snap/help/docs/general/overview/SnapOverview.html">
                <img src="images/snap_header.jpg" border="0"/></a>
        </td>
    </tr>
</table>
<h1>Merge Operator Description</h1>
<h2>Overview</h2>
<table>
  <tr><td><b>Name:</b></td><td><code>Merge</code></td></tr>
  <tr><td><b>Full name:</b></td><td><code>org.esa.snap.core.gpf.common.MergeOp</code></td></tr>
  <tr><td><b>Purpose:</b></td><td>Allows merging of several source products by using specified 'master' as reference product.</td></tr>
  <tr><td><b>Version:</b></td><td>1.3</td></tr>
</table>
<h2>Description</h2>
The merge operator allows copying raster data from other products to a specified product. The first product provided
 is considered the 'master product', into which the raster data coming from the other products is copied. Existing
 nodes are kept.
 <p>
 It is mandatory that the products share the same scene, that is, their width and height need to match with those of
 the master product as well as their geographic position.
<h2>Sources</h2>
<table>
<tr>
  <th>Name</th>
  <th>Description</th>
</tr>
<tr>
  <td><code>masterProduct</code></td>
  <td>The master, which serves as the reference, e.g. providing the geo-information.</td>
</tr>
<tr>
  <td><code>sourceProducts</code></td>
  <td>The products to be merged into the master product.</td>
</tr>
</table>
<h2>Parameters</h2>
<table>
<tr>
  <th>Name</th>
  <th>Data Type</th>
  <th>Default</th>
  <th>Description</th>
  <th>Constraints</th>
</tr>
<tr>
  <td><code>includes</code></td>
  <td><code>NodeDescriptor[]</code></td>
  <td><code></code></td>
  <td>Defines nodes to be included in the master product. If no includes are provided, all nodes are copied.</td>
  <td></td>
</tr>
<tr>
  <td><code>excludes</code></td>
  <td><code>NodeDescriptor[]</code></td>
  <td><code></code></td>
  <td>Defines nodes to be excluded from the target product. Excludes have precedence above includes.</td>
  <td></td>
</tr>
<tr>
  <td><code>geographicError</code></td>
  <td><code>float</code></td>
  <td><code>1.0E-5f</code></td>
  <td>Defines the maximum lat/lon error in degree between the products. If set to NaN no check for compatible geographic boundary is performed</td>
  <td></td>
</tr>
</table>
<hr/>
</body>
</html>
